package com.system.arrangement.repository;

import com.system.arrangement.been.Arrangement;
import org.springframework.data.jpa.repository.JpaRepository;

import java.time.LocalDate;
import java.util.List;

/**
 * @author 林
 */
public interface ArrangementRepository extends JpaRepository<Arrangement, Integer> {
    List<Arrangement> findAllByArrangementDt(LocalDate arrangementDt);

    List<Arrangement> findAllByEmployeeIdAndArrangementDt(int employeeId,LocalDate arrangementDt);
}
